<br>
<br>
<br>
<div class="container" ng-controller="OrderCtrl as oc">
        <div class="well center-block">
            <div class="panel panel-success">
                <div class="panel-heading" align="center">
                    <h4>所有订单</h4>
                </div>
                <div class="panel-body" style=" height:740px; overflow:auto">
                    <table class="table table-bordered table table-striped" id="orderInfoList"  >
                        <tr align="center">
                            <td>订单编号</td>
                            <td>下单顾客</td>
                            <td>下单时间</td>
                            <td>订单状态</td>
                            <td>查看详情</td>
                        </tr>
                        <tr align="center" ng-repeat="order in oc.orders">
                            <td name="orderInfoId" >{{order._id}}</td>
                            <td name="customerName">{{order.customer.username}}</td>
                            <td name="date">{{order.createDate|date:'yyyy-MM-dd HH:mm:ss'}}</td>
                            <td name="status">{{order.status}}</td>
                            <td><button  class="btn btn-success btn-primary btn-sm" data-target="#orderInfoDetailModel" data-toggle="modal" ng-click="oc.detail(order)">查看详情</button></td>
                        </tr>             
                    </table>
                </div>
            </div>
        </div>
    </div>